package com.um.jdy.common.member.entity.po;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.um.springboot.starter.orm.entity.BaseEntity;
import lombok.Data;
import java.util.Date;

/**
 * 用户钱包流水表
 * @TableName member_wallet
 */
@TableName(value ="member_wallet")
@Data
public class Wallet extends BaseEntity {

	/**
	 * id
	 */
	 @TableId
	 private String memberWalletId;

	/**
	 * 自增ID
	 */
	private Integer id;

	/**
	 * 租户ID
	 */
	 private String comId;

	/**
	 * 用户id
	 */
	 private String memberUserId;

	/**
	 * 充值订单号
	 */
	 private String orderNo;

	/**
	 * 编号
	 */
	 private String no;

	/**
	 * 收入支出类型：Income-收入，Expend-支出
	 */
	 private String type;

	/**
	 * 操作类型：Recharge-套餐充值,RechargeRedund-充值退款,Charge-订单消费,Refund-订单退款,Artificial-人工录入
	 */
	 private String event;

	/**
	 * 账单状态：NotEffective-未生效,Effective-已生效,Invalided-已失效
	 */
	 private String status;

	/**
	 * 金额(分)
	 */
	 private Integer amount;

	/**
	 * 备注
	 */
	 private String remark;

	/**
	 * 创建时间
	 */
	 private Date createTime;

	/**
	 * 
	 */
	 private String isDelete;

	/**
	 * 
	 */
	 private Date deleteTime;


}
